import 'package:enterprise_v6_app/generated/json/base/json_convert_content.dart';
import 'package:enterprise_v6_app/app/data/entities/double_control/get_tb_base_measures_task_entity.dart';

GetTbBaseMeasuresTaskEntity $GetTbBaseMeasuresTaskEntityFromJson(Map<String, dynamic> json) {
  final GetTbBaseMeasuresTaskEntity getTbBaseMeasuresTaskEntity = GetTbBaseMeasuresTaskEntity();
  final String? id = jsonConvert.convert<String>(json['id']);
  if (id != null) {
    getTbBaseMeasuresTaskEntity.id = id;
  }
  final String? riskObjectId = jsonConvert.convert<String>(json['riskObjectId']);
  if (riskObjectId != null) {
    getTbBaseMeasuresTaskEntity.riskObjectId = riskObjectId;
  }
  final String? riskObjectName = jsonConvert.convert<String>(json['riskObjectName']);
  if (riskObjectName != null) {
    getTbBaseMeasuresTaskEntity.riskObjectName = riskObjectName;
  }
  final String? riskUnitId = jsonConvert.convert<String>(json['riskUnitId']);
  if (riskUnitId != null) {
    getTbBaseMeasuresTaskEntity.riskUnitId = riskUnitId;
  }
  final String? riskUnitName = jsonConvert.convert<String>(json['riskUnitName']);
  if (riskUnitName != null) {
    getTbBaseMeasuresTaskEntity.riskUnitName = riskUnitName;
  }
  final String? riskEventId = jsonConvert.convert<String>(json['riskEventId']);
  if (riskEventId != null) {
    getTbBaseMeasuresTaskEntity.riskEventId = riskEventId;
  }
  final String? riskEventName = jsonConvert.convert<String>(json['riskEventName']);
  if (riskEventName != null) {
    getTbBaseMeasuresTaskEntity.riskEventName = riskEventName;
  }
  final String? riskMeasureId = jsonConvert.convert<String>(json['riskMeasureId']);
  if (riskMeasureId != null) {
    getTbBaseMeasuresTaskEntity.riskMeasureId = riskMeasureId;
  }
  final String? riskMeasureName = jsonConvert.convert<String>(json['riskMeasureName']);
  if (riskMeasureName != null) {
    getTbBaseMeasuresTaskEntity.riskMeasureName = riskMeasureName;
  }
  final String? companyCode = jsonConvert.convert<String>(json['companyCode']);
  if (companyCode != null) {
    getTbBaseMeasuresTaskEntity.companyCode = companyCode;
  }
  final String? allocationId = jsonConvert.convert<String>(json['allocationId']);
  if (allocationId != null) {
    getTbBaseMeasuresTaskEntity.allocationId = allocationId;
  }
  final dynamic allocationName = json['allocationName'];
  if (allocationName != null) {
    getTbBaseMeasuresTaskEntity.allocationName = allocationName;
  }
  final String? allocationType = jsonConvert.convert<String>(json['allocationType']);
  if (allocationType != null) {
    getTbBaseMeasuresTaskEntity.allocationType = allocationType;
  }
  final dynamic season = json['season'];
  if (season != null) {
    getTbBaseMeasuresTaskEntity.season = season;
  }
  final String? troubleshootContent = jsonConvert.convert<String>(json['troubleshootContent']);
  if (troubleshootContent != null) {
    getTbBaseMeasuresTaskEntity.troubleshootContent = troubleshootContent;
  }
  final String? workType = jsonConvert.convert<String>(json['workType']);
  if (workType != null) {
    getTbBaseMeasuresTaskEntity.workType = workType;
  }
  final String? controlMeasures = jsonConvert.convert<String>(json['controlMeasures']);
  if (controlMeasures != null) {
    getTbBaseMeasuresTaskEntity.controlMeasures = controlMeasures;
  }
  final String? controlMeasuresLabel = jsonConvert.convert<String>(json['controlMeasuresLabel']);
  if (controlMeasuresLabel != null) {
    getTbBaseMeasuresTaskEntity.controlMeasuresLabel = controlMeasuresLabel;
  }
  final String? workKind = jsonConvert.convert<String>(json['workKind']);
  if (workKind != null) {
    getTbBaseMeasuresTaskEntity.workKind = workKind;
  }
  final String? workKindLabel = jsonConvert.convert<String>(json['workKindLabel']);
  if (workKindLabel != null) {
    getTbBaseMeasuresTaskEntity.workKindLabel = workKindLabel;
  }
  final String? taskNum = jsonConvert.convert<String>(json['taskNum']);
  if (taskNum != null) {
    getTbBaseMeasuresTaskEntity.taskNum = taskNum;
  }
  final String? taskStatus = jsonConvert.convert<String>(json['taskStatus']);
  if (taskStatus != null) {
    getTbBaseMeasuresTaskEntity.taskStatus = taskStatus;
  }
  final String? checkCycle = jsonConvert.convert<String>(json['checkCycle']);
  if (checkCycle != null) {
    getTbBaseMeasuresTaskEntity.checkCycle = checkCycle;
  }
  final String? checkCycleUnit = jsonConvert.convert<String>(json['checkCycleUnit']);
  if (checkCycleUnit != null) {
    getTbBaseMeasuresTaskEntity.checkCycleUnit = checkCycleUnit;
  }
  final String? checkCycleUnitLabel = jsonConvert.convert<String>(json['checkCycleUnitLabel']);
  if (checkCycleUnitLabel != null) {
    getTbBaseMeasuresTaskEntity.checkCycleUnitLabel = checkCycleUnitLabel;
  }
  final String? workStartTime = jsonConvert.convert<String>(json['workStartTime']);
  if (workStartTime != null) {
    getTbBaseMeasuresTaskEntity.workStartTime = workStartTime;
  }
  final String? workEndTime = jsonConvert.convert<String>(json['workEndTime']);
  if (workEndTime != null) {
    getTbBaseMeasuresTaskEntity.workEndTime = workEndTime;
  }
  final String? workDayType = jsonConvert.convert<String>(json['workDayType']);
  if (workDayType != null) {
    getTbBaseMeasuresTaskEntity.workDayType = workDayType;
  }
  final String? workDayTypeLabel = jsonConvert.convert<String>(json['workDayTypeLabel']);
  if (workDayTypeLabel != null) {
    getTbBaseMeasuresTaskEntity.workDayTypeLabel = workDayTypeLabel;
  }
  final String? instrumentId = jsonConvert.convert<String>(json['instrumentId']);
  if (instrumentId != null) {
    getTbBaseMeasuresTaskEntity.instrumentId = instrumentId;
  }
  final String? deleted = jsonConvert.convert<String>(json['deleted']);
  if (deleted != null) {
    getTbBaseMeasuresTaskEntity.deleted = deleted;
  }
  final String? createDate = jsonConvert.convert<String>(json['createDate']);
  if (createDate != null) {
    getTbBaseMeasuresTaskEntity.createDate = createDate;
  }
  final String? createBy = jsonConvert.convert<String>(json['createBy']);
  if (createBy != null) {
    getTbBaseMeasuresTaskEntity.createBy = createBy;
  }
  final String? createById = jsonConvert.convert<String>(json['createById']);
  if (createById != null) {
    getTbBaseMeasuresTaskEntity.createById = createById;
  }
  final String? updateById = jsonConvert.convert<String>(json['updateById']);
  if (updateById != null) {
    getTbBaseMeasuresTaskEntity.updateById = updateById;
  }
  final String? updateDate = jsonConvert.convert<String>(json['updateDate']);
  if (updateDate != null) {
    getTbBaseMeasuresTaskEntity.updateDate = updateDate;
  }
  final String? updateBy = jsonConvert.convert<String>(json['updateBy']);
  if (updateBy != null) {
    getTbBaseMeasuresTaskEntity.updateBy = updateBy;
  }
  final String? hazardCode = jsonConvert.convert<String>(json['hazardCode']);
  if (hazardCode != null) {
    getTbBaseMeasuresTaskEntity.hazardCode = hazardCode;
  }
  final String? checkMeans = jsonConvert.convert<String>(json['checkMeans']);
  if (checkMeans != null) {
    getTbBaseMeasuresTaskEntity.checkMeans = checkMeans;
  }
  final int? status = jsonConvert.convert<int>(json['status']);
  if (status != null) {
    getTbBaseMeasuresTaskEntity.status = status;
  }
  final int? inspectionStatus = jsonConvert.convert<int>(json['inspectionStatus']);
  if (inspectionStatus != null) {
    getTbBaseMeasuresTaskEntity.inspectionStatus = inspectionStatus;
  }
  final dynamic effectiveTime = json['effectiveTime'];
  if (effectiveTime != null) {
    getTbBaseMeasuresTaskEntity.effectiveTime = effectiveTime;
  }
  final int? controllable = jsonConvert.convert<int>(json['controllable']);
  if (controllable != null) {
    getTbBaseMeasuresTaskEntity.controllable = controllable;
  }
  final String? departmentId = jsonConvert.convert<String>(json['departmentId']);
  if (departmentId != null) {
    getTbBaseMeasuresTaskEntity.departmentId = departmentId;
  }
  final String? userId = jsonConvert.convert<String>(json['userId']);
  if (userId != null) {
    getTbBaseMeasuresTaskEntity.userId = userId;
  }
  final String? warehouseId = jsonConvert.convert<String>(json['warehouseId']);
  if (warehouseId != null) {
    getTbBaseMeasuresTaskEntity.warehouseId = warehouseId;
  }
  final dynamic startRefreshTime = json['startRefreshTime'];
  if (startRefreshTime != null) {
    getTbBaseMeasuresTaskEntity.startRefreshTime = startRefreshTime;
  }
  final dynamic endRefreshTime = json['endRefreshTime'];
  if (endRefreshTime != null) {
    getTbBaseMeasuresTaskEntity.endRefreshTime = endRefreshTime;
  }
  final int? isUpload = jsonConvert.convert<int>(json['isUpload']);
  if (isUpload != null) {
    getTbBaseMeasuresTaskEntity.isUpload = isUpload;
  }
  final int? isApprove = jsonConvert.convert<int>(json['isApprove']);
  if (isApprove != null) {
    getTbBaseMeasuresTaskEntity.isApprove = isApprove;
  }
  final dynamic taskTimeNodeTables = json['taskTimeNodeTables'];
  if (taskTimeNodeTables != null) {
    getTbBaseMeasuresTaskEntity.taskTimeNodeTables = taskTimeNodeTables;
  }
  final List<GetTbBaseMeasuresTaskWorkKindCycleChangeList>? workKindCycleChangeList = (json['workKindCycleChangeList'] as List<dynamic>?)?.map(
          (e) => jsonConvert.convert<GetTbBaseMeasuresTaskWorkKindCycleChangeList>(e) as GetTbBaseMeasuresTaskWorkKindCycleChangeList).toList();
  if (workKindCycleChangeList != null) {
    getTbBaseMeasuresTaskEntity.workKindCycleChangeList = workKindCycleChangeList;
  }
  return getTbBaseMeasuresTaskEntity;
}

Map<String, dynamic> $GetTbBaseMeasuresTaskEntityToJson(GetTbBaseMeasuresTaskEntity entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['id'] = entity.id;
  data['riskObjectId'] = entity.riskObjectId;
  data['riskObjectName'] = entity.riskObjectName;
  data['riskUnitId'] = entity.riskUnitId;
  data['riskUnitName'] = entity.riskUnitName;
  data['riskEventId'] = entity.riskEventId;
  data['riskEventName'] = entity.riskEventName;
  data['riskMeasureId'] = entity.riskMeasureId;
  data['riskMeasureName'] = entity.riskMeasureName;
  data['companyCode'] = entity.companyCode;
  data['allocationId'] = entity.allocationId;
  data['allocationName'] = entity.allocationName;
  data['allocationType'] = entity.allocationType;
  data['season'] = entity.season;
  data['troubleshootContent'] = entity.troubleshootContent;
  data['workType'] = entity.workType;
  data['controlMeasures'] = entity.controlMeasures;
  data['controlMeasuresLabel'] = entity.controlMeasuresLabel;
  data['workKind'] = entity.workKind;
  data['workKindLabel'] = entity.workKindLabel;
  data['taskNum'] = entity.taskNum;
  data['taskStatus'] = entity.taskStatus;
  data['checkCycle'] = entity.checkCycle;
  data['checkCycleUnit'] = entity.checkCycleUnit;
  data['checkCycleUnitLabel'] = entity.checkCycleUnitLabel;
  data['workStartTime'] = entity.workStartTime;
  data['workEndTime'] = entity.workEndTime;
  data['workDayType'] = entity.workDayType;
  data['workDayTypeLabel'] = entity.workDayTypeLabel;
  data['instrumentId'] = entity.instrumentId;
  data['deleted'] = entity.deleted;
  data['createDate'] = entity.createDate;
  data['createBy'] = entity.createBy;
  data['createById'] = entity.createById;
  data['updateById'] = entity.updateById;
  data['updateDate'] = entity.updateDate;
  data['updateBy'] = entity.updateBy;
  data['hazardCode'] = entity.hazardCode;
  data['checkMeans'] = entity.checkMeans;
  data['status'] = entity.status;
  data['inspectionStatus'] = entity.inspectionStatus;
  data['effectiveTime'] = entity.effectiveTime;
  data['controllable'] = entity.controllable;
  data['departmentId'] = entity.departmentId;
  data['userId'] = entity.userId;
  data['warehouseId'] = entity.warehouseId;
  data['startRefreshTime'] = entity.startRefreshTime;
  data['endRefreshTime'] = entity.endRefreshTime;
  data['isUpload'] = entity.isUpload;
  data['isApprove'] = entity.isApprove;
  data['taskTimeNodeTables'] = entity.taskTimeNodeTables;
  data['workKindCycleChangeList'] = entity.workKindCycleChangeList?.map((v) => v.toJson()).toList();
  return data;
}

extension GetTbBaseMeasuresTaskEntityExtension on GetTbBaseMeasuresTaskEntity {
  GetTbBaseMeasuresTaskEntity copyWith({
    String? id,
    String? riskObjectId,
    String? riskObjectName,
    String? riskUnitId,
    String? riskUnitName,
    String? riskEventId,
    String? riskEventName,
    String? riskMeasureId,
    String? riskMeasureName,
    String? companyCode,
    String? allocationId,
    dynamic allocationName,
    String? allocationType,
    dynamic season,
    String? troubleshootContent,
    String? workType,
    String? controlMeasures,
    String? controlMeasuresLabel,
    String? workKind,
    String? workKindLabel,
    String? taskNum,
    String? taskStatus,
    String? checkCycle,
    String? checkCycleUnit,
    String? checkCycleUnitLabel,
    String? workStartTime,
    String? workEndTime,
    String? workDayType,
    String? workDayTypeLabel,
    String? instrumentId,
    String? deleted,
    String? createDate,
    String? createBy,
    String? createById,
    String? updateById,
    String? updateDate,
    String? updateBy,
    String? hazardCode,
    String? checkMeans,
    int? status,
    int? inspectionStatus,
    dynamic effectiveTime,
    int? controllable,
    String? departmentId,
    String? userId,
    String? warehouseId,
    dynamic startRefreshTime,
    dynamic endRefreshTime,
    int? isUpload,
    int? isApprove,
    dynamic taskTimeNodeTables,
    List<GetTbBaseMeasuresTaskWorkKindCycleChangeList>? workKindCycleChangeList,
  }) {
    return GetTbBaseMeasuresTaskEntity()
      ..id = id ?? this.id
      ..riskObjectId = riskObjectId ?? this.riskObjectId
      ..riskObjectName = riskObjectName ?? this.riskObjectName
      ..riskUnitId = riskUnitId ?? this.riskUnitId
      ..riskUnitName = riskUnitName ?? this.riskUnitName
      ..riskEventId = riskEventId ?? this.riskEventId
      ..riskEventName = riskEventName ?? this.riskEventName
      ..riskMeasureId = riskMeasureId ?? this.riskMeasureId
      ..riskMeasureName = riskMeasureName ?? this.riskMeasureName
      ..companyCode = companyCode ?? this.companyCode
      ..allocationId = allocationId ?? this.allocationId
      ..allocationName = allocationName ?? this.allocationName
      ..allocationType = allocationType ?? this.allocationType
      ..season = season ?? this.season
      ..troubleshootContent = troubleshootContent ?? this.troubleshootContent
      ..workType = workType ?? this.workType
      ..controlMeasures = controlMeasures ?? this.controlMeasures
      ..controlMeasuresLabel = controlMeasuresLabel ?? this.controlMeasuresLabel
      ..workKind = workKind ?? this.workKind
      ..workKindLabel = workKindLabel ?? this.workKindLabel
      ..taskNum = taskNum ?? this.taskNum
      ..taskStatus = taskStatus ?? this.taskStatus
      ..checkCycle = checkCycle ?? this.checkCycle
      ..checkCycleUnit = checkCycleUnit ?? this.checkCycleUnit
      ..checkCycleUnitLabel = checkCycleUnitLabel ?? this.checkCycleUnitLabel
      ..workStartTime = workStartTime ?? this.workStartTime
      ..workEndTime = workEndTime ?? this.workEndTime
      ..workDayType = workDayType ?? this.workDayType
      ..workDayTypeLabel = workDayTypeLabel ?? this.workDayTypeLabel
      ..instrumentId = instrumentId ?? this.instrumentId
      ..deleted = deleted ?? this.deleted
      ..createDate = createDate ?? this.createDate
      ..createBy = createBy ?? this.createBy
      ..createById = createById ?? this.createById
      ..updateById = updateById ?? this.updateById
      ..updateDate = updateDate ?? this.updateDate
      ..updateBy = updateBy ?? this.updateBy
      ..hazardCode = hazardCode ?? this.hazardCode
      ..checkMeans = checkMeans ?? this.checkMeans
      ..status = status ?? this.status
      ..inspectionStatus = inspectionStatus ?? this.inspectionStatus
      ..effectiveTime = effectiveTime ?? this.effectiveTime
      ..controllable = controllable ?? this.controllable
      ..departmentId = departmentId ?? this.departmentId
      ..userId = userId ?? this.userId
      ..warehouseId = warehouseId ?? this.warehouseId
      ..startRefreshTime = startRefreshTime ?? this.startRefreshTime
      ..endRefreshTime = endRefreshTime ?? this.endRefreshTime
      ..isUpload = isUpload ?? this.isUpload
      ..isApprove = isApprove ?? this.isApprove
      ..taskTimeNodeTables = taskTimeNodeTables ?? this.taskTimeNodeTables
      ..workKindCycleChangeList = workKindCycleChangeList ?? this.workKindCycleChangeList;
  }
}

GetTbBaseMeasuresTaskWorkKindCycleChangeList $GetTbBaseMeasuresTaskWorkKindCycleChangeListFromJson(Map<String, dynamic> json) {
  final GetTbBaseMeasuresTaskWorkKindCycleChangeList getTbBaseMeasuresTaskWorkKindCycleChangeList = GetTbBaseMeasuresTaskWorkKindCycleChangeList();
  final String? id = jsonConvert.convert<String>(json['id']);
  if (id != null) {
    getTbBaseMeasuresTaskWorkKindCycleChangeList.id = id;
  }
  final String? taskId = jsonConvert.convert<String>(json['taskId']);
  if (taskId != null) {
    getTbBaseMeasuresTaskWorkKindCycleChangeList.taskId = taskId;
  }
  final String? attribute = jsonConvert.convert<String>(json['attribute']);
  if (attribute != null) {
    getTbBaseMeasuresTaskWorkKindCycleChangeList.attribute = attribute;
  }
  final String? startTime = jsonConvert.convert<String>(json['startTime']);
  if (startTime != null) {
    getTbBaseMeasuresTaskWorkKindCycleChangeList.startTime = startTime;
  }
  final String? endTime = jsonConvert.convert<String>(json['endTime']);
  if (endTime != null) {
    getTbBaseMeasuresTaskWorkKindCycleChangeList.endTime = endTime;
  }
  final String? checkCycle = jsonConvert.convert<String>(json['checkCycle']);
  if (checkCycle != null) {
    getTbBaseMeasuresTaskWorkKindCycleChangeList.checkCycle = checkCycle;
  }
  final String? checkCycleUnit = jsonConvert.convert<String>(json['checkCycleUnit']);
  if (checkCycleUnit != null) {
    getTbBaseMeasuresTaskWorkKindCycleChangeList.checkCycleUnit = checkCycleUnit;
  }
  final String? checkCycleUnitLabel = jsonConvert.convert<String>(json['checkCycleUnitLabel']);
  if (checkCycleUnitLabel != null) {
    getTbBaseMeasuresTaskWorkKindCycleChangeList.checkCycleUnitLabel = checkCycleUnitLabel;
  }
  final String? hourStartTime = jsonConvert.convert<String>(json['hourStartTime']);
  if (hourStartTime != null) {
    getTbBaseMeasuresTaskWorkKindCycleChangeList.hourStartTime = hourStartTime;
  }
  final String? hourEndTime = jsonConvert.convert<String>(json['hourEndTime']);
  if (hourEndTime != null) {
    getTbBaseMeasuresTaskWorkKindCycleChangeList.hourEndTime = hourEndTime;
  }
  final String? executeType = jsonConvert.convert<String>(json['executeType']);
  if (executeType != null) {
    getTbBaseMeasuresTaskWorkKindCycleChangeList.executeType = executeType;
  }
  final String? executeTypeLabel = jsonConvert.convert<String>(json['executeTypeLabel']);
  if (executeTypeLabel != null) {
    getTbBaseMeasuresTaskWorkKindCycleChangeList.executeTypeLabel = executeTypeLabel;
  }
  final String? status = jsonConvert.convert<String>(json['status']);
  if (status != null) {
    getTbBaseMeasuresTaskWorkKindCycleChangeList.status = status;
  }
  final String? createBy = jsonConvert.convert<String>(json['createBy']);
  if (createBy != null) {
    getTbBaseMeasuresTaskWorkKindCycleChangeList.createBy = createBy;
  }
  final String? createDate = jsonConvert.convert<String>(json['createDate']);
  if (createDate != null) {
    getTbBaseMeasuresTaskWorkKindCycleChangeList.createDate = createDate;
  }
  final String? updateBy = jsonConvert.convert<String>(json['updateBy']);
  if (updateBy != null) {
    getTbBaseMeasuresTaskWorkKindCycleChangeList.updateBy = updateBy;
  }
  final String? updateDate = jsonConvert.convert<String>(json['updateDate']);
  if (updateDate != null) {
    getTbBaseMeasuresTaskWorkKindCycleChangeList.updateDate = updateDate;
  }
  return getTbBaseMeasuresTaskWorkKindCycleChangeList;
}

Map<String, dynamic> $GetTbBaseMeasuresTaskWorkKindCycleChangeListToJson(GetTbBaseMeasuresTaskWorkKindCycleChangeList entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['id'] = entity.id;
  data['taskId'] = entity.taskId;
  data['attribute'] = entity.attribute;
  data['startTime'] = entity.startTime;
  data['endTime'] = entity.endTime;
  data['checkCycle'] = entity.checkCycle;
  data['checkCycleUnit'] = entity.checkCycleUnit;
  data['checkCycleUnitLabel'] = entity.checkCycleUnitLabel;
  data['hourStartTime'] = entity.hourStartTime;
  data['hourEndTime'] = entity.hourEndTime;
  data['executeType'] = entity.executeType;
  data['executeTypeLabel'] = entity.executeTypeLabel;
  data['status'] = entity.status;
  data['createBy'] = entity.createBy;
  data['createDate'] = entity.createDate;
  data['updateBy'] = entity.updateBy;
  data['updateDate'] = entity.updateDate;
  return data;
}

extension GetTbBaseMeasuresTaskWorkKindCycleChangeListExtension on GetTbBaseMeasuresTaskWorkKindCycleChangeList {
  GetTbBaseMeasuresTaskWorkKindCycleChangeList copyWith({
    String? id,
    String? taskId,
    String? attribute,
    String? startTime,
    String? endTime,
    String? checkCycle,
    String? checkCycleUnit,
    String? checkCycleUnitLabel,
    String? hourStartTime,
    String? hourEndTime,
    String? executeType,
    String? executeTypeLabel,
    String? status,
    String? createBy,
    String? createDate,
    String? updateBy,
    String? updateDate,
  }) {
    return GetTbBaseMeasuresTaskWorkKindCycleChangeList()
      ..id = id ?? this.id
      ..taskId = taskId ?? this.taskId
      ..attribute = attribute ?? this.attribute
      ..startTime = startTime ?? this.startTime
      ..endTime = endTime ?? this.endTime
      ..checkCycle = checkCycle ?? this.checkCycle
      ..checkCycleUnit = checkCycleUnit ?? this.checkCycleUnit
      ..checkCycleUnitLabel = checkCycleUnitLabel ?? this.checkCycleUnitLabel
      ..hourStartTime = hourStartTime ?? this.hourStartTime
      ..hourEndTime = hourEndTime ?? this.hourEndTime
      ..executeType = executeType ?? this.executeType
      ..executeTypeLabel = executeTypeLabel ?? this.executeTypeLabel
      ..status = status ?? this.status
      ..createBy = createBy ?? this.createBy
      ..createDate = createDate ?? this.createDate
      ..updateBy = updateBy ?? this.updateBy
      ..updateDate = updateDate ?? this.updateDate;
  }
}
